package com.daydayup.test20190429;

public class Test {

	public static void main(String[] args) {
		Stack stack = new Stack();
		for (int i = 0; i < 10; i++) {
			stack.push(i);
		}
		for (int i = 0; i < 10; i++) {
			Object value = stack.pop();
			System.out.println(value);
		}
	}

}
